package com.jspx.txweb.dao;

import com.jspx.sober.SoberSupport;
import com.jspx.txweb.table.ConnectApp;

import java.util.List;


/**
 * Created by jspx.net codeMaker
 * User: chenYuan
 * DateTime: 2018-11-20 11:48
 *  ConnectApp DAO 接口
 */
public interface ConnectAppDAO extends SoberSupport {

    ConnectApp loadConnectApp(long appId) throws Exception;
    /**
     *  ConnectApp排序时间
     */
    boolean updateSortDate(Long[] ids);
    /**
     *  ConnectApp排序标识
     */
    boolean updateSortType(Long[] ids, int sortType);
    /**
     *  ConnectApp列表
     */
    List<ConnectApp> getList(String[] field, String[] find, String term, long uid, String sort, int page, int count) throws Exception;
    /**
     *  ConnectApp列表数量
     */
    int getCount(String[] field,String[] find, String term, long uid) throws Exception;

    /**
     * 审核
     * @param ids  id
     * @param auditingType  审核标示
     * @return
     */
    boolean updateAuditing(Long[] ids, int auditingType);
}